﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Import.ascx.cs" Inherits="Presentation.UserControl.Import" %>
<table border="0" cellpadding="0" cellspacing="0" id="content-table" width="100%">
    <tr>
        <th rowspan="3" class="sized">
            <img src="/Content/images/shared/side_shadowleft.jpg" width="20" height="300" alt="" />
        </th>
        <th class="topleft">
        </th>
        <td id="tbl-border-top">
            &nbsp;
        </td>
        <th class="topright">
        </th>
        <th rowspan="3" class="sized">
            <img src="/Content/images/shared/side_shadowright.jpg" width="20" height="300" alt="" />
        </th>
    </tr>
    <tr>
        <td id="tbl-border-left">
        </td>
        <td>
            <!--  start content-table-inner -->
            <div id="content-table-inner">
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr valign="top">
                        <td>
                            <table cellspacing="0" cellpadding="0" border="0" id="id-form">
                                <tr>
                                    <th valign="top">
                                        File to upload:
                                    </th>
                                    <td>
                                        <asp:FileUpload ID="CsvFileUpload" runat="server" />
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        &nbsp;
                                    </th>
                                    <td valign="top">
                                        <asp:Button ID="UploadButton" runat="server" CssClass="form-upload" Text="" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <img height="1" width="695" alt="blank" src="../Content/Images/shared/blank.gif" />
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:ListView ID="ContractListView" runat="server">
                                <LayoutTemplate>
                                    <table border="0" width="100%" cellpadding="0" cellspacing="0" id="product-table">
                                        <tr>
                                            <th class="table-header-check">
                                                <input type="checkbox" onchange="selectAll(this)"/>
                                            </th>
                                            <th class="table-header-repeat line-left">
                                                <a>No.</a>
                                            </th>
                                            <th class="table-header-repeat line-left">
                                                <a>Client</a>
                                            </th>
                                            <th class="table-header-repeat line-left">
                                                <a>Consultant</a>
                                            </th>
                                            <th class="table-header-repeat line-left">
                                                <a>ContractType</a>
                                            </th>
                                            <th class="table-header-repeat line-left">
                                                <a>StartDate</a>
                                            </th>
                                            <th class="table-header-repeat line-left">
                                                <a>EndDate</a>
                                            </th>
                                            <th class="table-header-repeat line-left">
                                                <a>Contractor</a>
                                            </th>
                                            <th class="table-header-repeat line-left">
                                                <a>Info</a>
                                            </th>
                                        </tr>
                                        <tr id="itemPlaceholder" runat="server">
                                        </tr>
                                    </table>
                                </LayoutTemplate>
                                <ItemTemplate>
                                    <tr>
                                        <td>
                                            <input type="checkbox" id="<%# Eval("hidden") %>" />
                                        </td>
                                        <td>
                                            <%# Container.DataItemIndex + 1 %>
                                        </td>
                                        <td>
                                            <%# Eval("Client")%>
                                        </td>
                                        <td>
                                            <%# Eval("Consultant")%>
                                        </td>
                                        <td>
                                            <%# Eval("ContractType")%>
                                        </td>
                                        <td>
                                            <%# Eval("StartDate")%>
                                        </td>
                                        <td>
                                            <%# Eval("EndDate")%>
                                        </td>
                                        <td>
                                            <%# Eval("FirstName")%>
                                            <%# Eval("LastName")%>
                                        </td>
                                        <td>
                                            <a class="icon-11" title="Birthdate: <b><%# Eval("Birthdate")%></b><br/>Gender: <b><%# Eval("Gender")%></b><br/>Telephone1: <b><%# Eval("Telephone1")%></b><br/>Telephone2: <b><%# Eval("Telephone2")%></b><br/>Branch: <b><%# Eval("Branch")%></b><br/>SortCode: <b><%# Eval("SortCode")%></b><br/>Day in week: <b><%# Eval("DayInWeek")%></b>" />
                                        </td>
                                    </tr>
                                </ItemTemplate>
                            </asp:ListView>
                        </td>
                    </tr>
                </table>
                <asp:Button ID="ApplyButton" Visible="False" runat="server" CssClass="form-add" Text="" />
                <asp:Button ID="ExportButton" Visible="False" runat="server" CssClass="form-export" Text="" />
                <div class="clear">
                </div>
            </div>
            <!--  end content-table-inner  -->
        </td>
        <td id="tbl-border-right">
        </td>
    </tr>
    <tr>
        <th class="sized bottomleft">
        </th>
        <td id="tbl-border-bottom">
            &nbsp;
        </td>
        <th class="sized bottomright">
        </th>
    </tr>
</table>
<div class="clear">
    &nbsp;</div>
